import yagmail


# 封装发送邮件日志方法
def swit(tiles):
    sends = yagmail.SMTP(user='3392177122@qq.com', password='ccyayzzvugvychfg', host='smtp.qq.com')
    sends.send(to='3392177122@qq.com', subject='电商接口模块', contents='增删改查', attachments=tiles)
